package com.tjetc.service;

import com.tjetc.dao.GameDao;
import com.tjetc.domain.Game;

import java.sql.SQLException;
import java.util.List;

public class GameService {
    private GameDao gameDao=new GameDao();

    public List<Game> showGame() {
        try {
            return gameDao.showGame();
        } catch (SQLException e) {
            e.printStackTrace();
        }
        return null;
    }
}
